package com.yishun.springboot.pojo;

import org.springframework.stereotype.Component;

/**
 * 上传至工务署的环境监测设备基本信息
 * 
 * @author YS
 *
 */
@Component
public class RequestGongWuShuTspBaseInfo {

	private String device_no;
	private String name;
	private Integer type;
	private String me_option;
	private String install_address;
	private String install_company;
	private String device_installation_date;
	private Integer state;

	public String getDevice_no() {
		return device_no;
	}

	public void setDevice_no(String device_no) {
		if (device_no.equals("Y3401040147093000000009300000000")) {
			device_no = "Y3401040147093000000009300000001";
		}
		this.device_no = device_no;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getMe_option() {
		return me_option;
	}

	public void setMe_option(String me_option) {
		this.me_option = me_option;
	}

	public String getInstall_address() {
		return install_address;
	}

	public void setInstall_address(String install_address) {
		this.install_address = install_address;
	}

	public String getInstall_company() {
		return install_company;
	}

	public void setInstall_company(String install_company) {
		this.install_company = install_company;
	}

	public String getDevice_installation_date() {
		return device_installation_date;
	}

	public void setDevice_installation_date(String device_installation_date) {
		this.device_installation_date = device_installation_date;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "RequestGongWuShuTspBaseInfo [device_no=" + device_no + ", name=" + name + ", type=" + type
				+ ", me_option=" + me_option + ", install_address=" + install_address + ", install_company="
				+ install_company + ", device_installation_date=" + device_installation_date + ", state=" + state + "]";
	}

}
